package com.xx.executor.task;

import com.xxl.job.core.biz.model.ReturnT;
import com.xxl.job.core.handler.IJobHandler;
import com.xxl.job.core.handler.annotation.XxlJob;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class TaskJobHandler extends IJobHandler {


    @Override
    @XxlJob( "taskJobHandler")
    public ReturnT<String> execute(String s) throws Exception {
        log.warn("====>" + s);
        return null;
    }


}
